TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt

INCLUDEPATH += $$PWD/../MPICH2/include
INCLUDEPATH += $$PWD/../petsc/include

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../petsc/ -llibpetsc
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../petsc/ -llibpetsc
else:unix: LIBS += -L$$PWD/../petsc/ -llibpetsc

INCLUDEPATH += $$PWD/../petsc/include
DEPENDPATH += $$PWD/../petsc/include

include($$PWD/shapefunction/shapefunction.pri)
include($$PWD/resolution/resolution.pri)
include($$PWD/mesh/mesh.pri)
include($$PWD/io/io.pri)
include($$PWD/geometry/geometry.pri)
include($$PWD/gausspoint/gausspoint.pri)
include($$PWD/formulation/formulation.pri)
include($$PWD/field/field.pri)
include($$PWD/expression/expression.pri)

SOURCES += \
    ../examples/magnetostatics-vector-potential-3d/main.cpp \
    densematrix.cpp \
    element.cpp \
    harmonic.cpp \
    intdensematrix.cpp \
    myfft.cpp \
    slmpi.cpp \
    universe.cpp \
    wallclock.cpp

HEADERS += \
    densematrix.h \
    element.h \
    harmonic.h \
    intdensematrix.h \
    myfft.h \
    slmpi.h \
    sparselizard.h \
    universe.h \
    wallclock.h



